package com.atguigu.edu.realtime.common.bean;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LearningPlayBean {

    // 窗口起始时间
    private String stt;

    // 窗口结束时间
    private String edt;

    // 当天日期
    private String curDate;
    //{"course_id":"406","user_id":"661","position_sec":"864","id":"1922","chapter_id":"22034","ts":1715069243}

    // 视频 ID
    private String videoId;
    //章节id name
    private String chapterId;
    private String chapterName;
    
    //用户id
    private String userId;
    
    //播放次数
    private Long playCt;
    
    //视频播放时长
    private Long playSec;

    //人数
    private Long playUuCt;
    
    // 时间戳
    @JSONField(serialize = false)  // 要不要序列化这个字段
    private Long ts;
}